package bdcin.servlet.actions;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class DeslogarFuncionarioAction extends Action {
	
	@Override
	public void executar(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		
		
		request.getSession().setAttribute("usuarioLogado", null);
		
		RequestDispatcher rd = request.getRequestDispatcher("/buscasDocumento/buscaDocumento.jsp");
		rd.forward(request, response);
	
	}

}
